package domain;

import java.util.Date;

public class Task {

		private int ID;
		private String name;
		private String title;
		private String description;
		private Date startTime;
		private Date endTime;
		
		public int getID() {
			return ID;
		}
		
		public void setID(int id){
			this.ID = id;
		}
		
		public void setName(String name) {
			this.name = name;
		}

		public String getName() {
			return name;
		}
		
		public void setTitle(String title) {
			this.title = title;
		}

		public String getTitle() {
			return title;
		}

		public void setDescription(String _taskDescription) {
			this.description = _taskDescription;
		}

		public String getDescription() {
			return description;
		}

		public void setStartTime(Date startTime) {
			this.startTime = startTime;
		}

		public Date getStartTime() {
			return startTime;
		}
		
		public void setEndTime(Date endTime) {
			this.endTime = endTime;
		}

		public Date getEndTime() {
			return endTime;
		}
		
		public Task(){
			this.ID = -1;
		}
		
		public Task(int id){
			this.ID = id;
		}
}
